import Vue from 'vue'
import Router from 'vue-router'
import MainPage from '@/pages/MainPage'
import BillPage from '@/pages/BillPage'
import EditBillPage from '@/pages/EditBillPage'
import SchedulePage from '@/pages/SchedulePage'
import EditSchedulePage from '@/pages/EditSchedulePage'
Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'MainPage',
      component: MainPage
    },{
      path: '/BillPage',
      name: 'BillPage',
      component: BillPage
    },{
      path: '/EditBillPage',
      name: 'EditBillPage',
      component: EditBillPage
    },{
      path: '/SchedulePage',
      name: 'SchedulePage',
      component: SchedulePage
    },{
      path: '/EditSchedulePage',
      name: 'EditSchedulePage',
      component: EditSchedulePage
    }
  ]
})
